// 会随机生成一个狗狗的图片
// https://images.dog.ceo



export default [
  {
    url: "/api/dog/random",
    method: "post",

    response: (req: any) => {
      console.log('请求参数:', req);
      try {
        return {
          code: 200,
          message: "success",
          data: 'https://images.dog.ceo/breeds/greyhound-italian/n02091032_989.jpg'
        };
      } catch (error) {
        console.error('调用出错:', error);
        return {
          code: 500,
          message: "Failed to get dog image",
          data: null
        };
      }
    }
  },
];

